<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/static/img/logo/favicon.ico" />
    <link rel="stylesheet" href="/static/assets/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/footer.css">
    <link rel="stylesheet" href="/static/css/header.css">
    <title>文件共享</title>

</head>

<body>
    {% include 'header.html' %}
    <div class="container " style="height: 200px;"></div>

    <div class="container-sm content-section pt-2 mt-3 shadow-lg" style="width: 800px; ">

        <form action="" method="POST" enctype="multipart/form-data">
            {% csrf_token %}
            <fieldset class="form-group">
                <legend class="border-bottom mb-3 ">
                    新建文件
                </legend>
                <div id="div_id_title" class="form-group mb-2"> <label for="id_title" class=" requiredField mb-1">
                        标题<span class="asteriskField">*</span> </label>
                    <div> <input type="text" name="title" maxlength="12" class="textinput textInput form-control"
                            required="" id="id_title"> </div>
                </div>

                <div id="div_id_file" class="form-group mb-3"> <label for="id_file" class="mb-1">
                        文件<span class="asteriskField">*</span> </label>
                    </label>
                    <div class="input-group">
                        <input type="file" class="form-control" id="file" name="file"
                            aria-describedby="inputGroupFileAddon04" aria-label="Upload">
                        <button class="btn btn-outline-secondary" type="submit" id="inputGroupFileAddon04">上传</button>
                    </div>
                </div>

            </fieldset>


        </form>

    </div>
    <div class="container " style="height: 280px;"></div>


    {% include 'footer.html' %}
    <script src="/static/assets/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>

</html>